package pruebas;

import negModel.Semaforo;
import junit.framework.TestCase;

public class SemaforoTest extends TestCase {

	private Semaforo semaforo;
	
	protected void setUp() throws Exception {
		super.setUp();
		semaforo = new Semaforo(5);
	}

	public void testIniciarConteo() {
		semaforo.iniciarConteo();
		int i = 0;
		while (i <= 20){
			
			if (semaforo.getSegundos().compareTo("LAAAARGAROON!") == 0)
				i = 20;
			i++;
		}
		
		
		
	}
	
	

	
}
